import axios from 'axios'
const instance = axios.create({
  baseURL: 'http://www.zhezhe.gzt.ico:3232/api',
  header: {
    'content-type': 'application/x-www-form-urlencoded'
  }
})
instance.interceptors.request.use(config => {
  return config
}, err => {
  return Promise.reject(err)
})
instance.interceptors.response.use(res => {
  console.log(res)
  return res
}, err => {
  return Promise.reject(err)
})
export default instance
